The Dreamweaver JavaScript API > File manipulation functions > dom.applyCharacterMarkup()

 

dom.applyCharacterMarkup()

Availability

Dreamweaver 3.0

Description

Applies the specified type of character markup to the selection. If the selection is an insertion point, applies the specified character markup to any subsequently typed text.

Arguments

tagName

tagName is the tag name associated with the character markup. It must be one of the following strings: "b", "cite", "code", "dfn", "em", "i", "kbd", "samp", "s", "strong", "tt", "u", or "var".

Returns

Nothing.

Enabler

None.